fix(workflows): replace relative reusable paths with full org/repo refs#35
Conversation
GitHub Actions does not support the ./ relative path syntax for reusable workflows in subdirectories. Replaced all uses of ./.github/workflows/reusable/*.yml with the full YiAgent/OpenCI/.github/workflows/reusable/*.yml@SHA format, which supports subdirectory paths and is valid per GitHub docs. This fixes the broken workflow names (showing file paths instead of name: field values) and the workflow dispatch failures.
Switch from HEAD SHA to manifest-pinned SHA d280a64 for all YiAgent/OpenCI reusable workflow references, matching the verify-sha hook requirement. Also update two BATS tests that asserted the old ./ relative path pattern, and suppress a SC2016 false positive where $ is intentional grep BRE syntax.
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughAll local reusable workflow references across nine GitHub Actions workflows are switched to externally maintained workflows from the YiAgent/OpenCI repository, pinned to commit ChangesReusable Workflow Externalization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~18 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 9/10 reviews remaining, refill in 6 minutes. Comment |
|



Summary
./relative path syntax for reusable workflows in subdirectories (reusable/)uses: ./.github/workflows/reusable/*.ymlreferences replaced withuses: YiAgent/OpenCI/.github/workflows/reusable/*.yml@<SHA>(manifest-pinned SHA)Root Cause
GitHub's workflow parser rejects
uses: ./.github/workflows/reusable/xxx.ymlwhen the workflow is in a subdirectory, returning:This caused all affected workflows to display as file paths (
.github/workflows/ci.yml) instead of theirname:field values in the GitHub Actions UI.Test Plan
Need help on this PR? Tag
@codesmithwith what you need.Summary by CodeRabbit